package org.eenie.dagger2.base;

import android.support.v7.app.AppCompatActivity;

import org.eenie.dagger2.App;
import org.eenie.dagger2.injector.components.AppComponent;


/**
 * Created by Eenie on 2017/5/8.
 * Email: eeniework@gmail.com
 * Des:
 */

public class BaseActivity extends AppCompatActivity {

    protected AppComponent getAppComponent() {
        return ((App) getApplication()).getAppComponent();
    }
}
